<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.org/ui"
                template="./template.xhtml">

    <ui:define name="head">
        <style type="text/css">
            .ui-diagram-element {
                border:0.1em dotted #d4e06b; 	
                width:14em; 
                height:4em; 	
                line-height:4em;
                text-align: center;
            }
        </style>
	</ui:define>
    
    <ui:define name="title">
        Diagram - <span class="subitem">Basic</span>
    </ui:define>

    <ui:define name="description">
        Diagram is generic component to create visual elements and connect them on a web page. SVG is used on modern browsers and VML on IE 8 and below. Component
        is highly flexible in terms of api, events and theming.
    </ui:define>

    <ui:param name="documentationLink" value="/components/diagram" />

    <ui:define name="implementation">

        <p:diagram value="#{diagramBasicView.model}" style="height:400px" styleClass="ui-widget-content" />
        
    </ui:define>

</ui:composition>
